package com.ruoyi.banner.mapper;

import com.ruoyi.banner.domain.Banner;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface BannerMapper {
    List<Banner> queryAll();

    int addBanner(Banner banner);

    void updateBanner(Banner banner);

    void deleteBanner(int id);

    List<Banner> queryBannerByTitle(String title);
}
